package fr.n7.sma.view.model;

import fr.n7.sma.model.Agent;
import fr.n7.sma.view.Trace;

public class TraceModel {

	int[] pos;
	Agent<AgentViewProperties, CellViewProperties> from;
	Trace trace;
	
	public TraceModel(int[] pos, Agent<AgentViewProperties, CellViewProperties> from, Trace trace) {
		this.pos = pos;
		this.from = from;
		this.trace = trace;
	}
	
	public TraceModel(int x, int y, Agent<AgentViewProperties, CellViewProperties> from, Trace trace) {
		this.pos = new int[]{x, y};
		this.from = from;
		this.trace = trace;
	}
	
	public int[] getPos() {
		return pos;
	}
	
	public Agent<AgentViewProperties, CellViewProperties> getFrom() {
		return from;
	}

	public Trace getTrace() {
		return trace;
	}
	
}
